home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 38
/
Amiga Format CD38 (1999-03-15)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-04].iso
/
-seriously_amiga-
/
programming
/
e
/
unfinishedesrc
/
textpaint.e
< prev
next >
Wrap
Text File
|
1999-01-25
|
629b
|
35 lines
->By Ian Chapman
->Draws in an intuition window until you move out of the left edge
MODULE 'intuition/intuition'
DEF win:PTR TO window
PROC main()
IF (win:=OpenW(10,10,600,200,
IDCMP_MOUSEBUTTONS OR
IDCMP_MOUSEMOVE OR
IDCMP_CLOSEWINDOW,
WFLG_DRAGBAR OR
WFLG_CLOSEGADGET OR
WFLG_DEPTHGADGET OR
WFLG_GIMMEZEROZERO,
'TEXT PAINT',
NIL,1,NIL,NIL))<>NIL
Colour(1)
REPEAT
TextF(win.mousex-5,win.mousey-10,'#')
UNTIL win.mousex<0
CloseW(win)
ELSE
PrintF('Unable to open Window!\n')
ENDIF
ENDPROC